<%@ Control Language="C#" AutoEventWireup="true" Codebehind="PlayerWeaponStatsByLogId.ascx.cs"
    Inherits="ASP_TF2LogParser.UserControls.PlayerWeaponStatsByLogId" %>
<div id="WeaponStatsDivId">
    <div id="WeaponStatsHeaderDivId">
        Weapon Stats</div>
    <div id="noLeagueIdErrorMessage">
        <asp:Label ID="NoLeagueIdErrorMessage" Text="No League Id supplied or no log files found for that League Id"
            Visible="false" runat="server" />
    </div>
    <div id="WeaponStatsDataDivId" runat="server">
        <asp:GridView ID="playerWeaponStatsGridView" runat="server" AllowSorting="True" AutoGenerateColumns="False">
            <Columns>
                <asp:TemplateField HeaderText="Weapon" SortExpression="Weapon">
                    <ItemTemplate>
                        <asp:Label runat="server" Text='<%# GenerateUrl( Eval("Weapon").ToString(), Eval("WeaponId").ToString() ) %>'
                            ID="WeaponLabel"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="Kills" HeaderText="Kills" ReadOnly="True" SortExpression="Kills" />
                <asp:BoundField DataField="Deaths" HeaderText="Deaths" ReadOnly="True" SortExpression="Deaths" />
                <asp:BoundField DataField="KillDeathRatio" HeaderText="K:D" SortExpression="KillDeathRatio" />
            </Columns>
        </asp:GridView>
        &nbsp;
    </div>
</div>
